#include<iostream>
using namespace std;
class Student{

public:

int getAge()
{
    return age;
}
void steAge(int age)
{
    //age =age  只是 成员函数的 age
           this->age =age;   //this指针不占用类的大小
           cout << "age ======" << age <<endl;
}
virtual void  test01()
{
    cout << "this 指针里面存放的地址是什么" << this << endl;
}
virtual void test02()
{
    cout << " b" << endl;
}
static void lazy()
{
    cout << " I want to sleep" << endl;
   // cout << this->age << endl;
}
private:
 int age;
// char name;
 //char c;
};

int main()
{ 
    //此时没有this->>实例化对象的首地址
  //  Student::lazy();
 // 静态成员函数是先于对象存在的

   cout << sizeof(Student) <<endl;
 //// Student s;
//s.lazy();
 // s.test01();
//  cout << "s实例化对象的地址：" << &s << endl;
  //s.steAge(3);
 // cout <<s.getAge( )<< endl;
}